package com.sry.blog.dto;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;
import java.util.List;

@Data
@ToString
@EqualsAndHashCode
@Builder
public class ContentDTO {
    private Integer id;//主键
    private Date date;//评论时间
    private Integer ownerId;//文章id
    private Integer fromId;//发送者id
    private String fromName;//发送者名字
    private String fromAvatar;//评论者头像
    private String content;//评论内容
    private List<ReplyDTO> replys;//回复列表
}

